package common.Constants;

/**
 * Created by lxl on 2015/10/30.
 */
public interface ServiceConstant {

    public final static int VERIFY_SUCCES = 1 ;

    public final static int VERIFY_ERROR = 0 ;

    public final static String VERIFY_TOKEN_ERROR  = "token error" ;

    public final static String VERIFY_AUTHORITY_ERROR = "authority error" ;

    public final static String LOGIN_ERROR = "password error" ;

    public final static int NO_LEVEL = 0 ;

    public final static int STUDENT_LEVEL = 1 ;

    public final static int TEACHER_LEVEL = 2 ;

    public final static int ADMIN_LEVEL = 3 ;

    public final static String USER_INSERT_ERROR = "insert user error" ;

    public final static String USER_EXIST_ERROR = "user is not exist " ;

    public final static String PASSWORD_ERROR = "password is not right" ;

    public final static String COURSE_INSERT_ERROR = "insert course error" ;

    public final static String STUDENT_INSERT_ERROR = "insert student error" ;

    public final static String UPDATE_SCORE_ERROR = "update score error" ;

    public final static String SCORE_EXIST_ERROR = "score is not exist" ;

    public final static String USER_QUERY_ERROR = "query user error" ;

    public final static String COURSE_QUERY_ERROR = "query course error" ;

    public final static String NO_THIS_LEVEL = "no this level" ;

    public final static String NO_SUCH_COURSE = "no such course" ;

    public final static String QUERY_STUDENT_COURSE_ERROR = "query student course error" ;

    public final static String QUERY_SCORE_ERROR = "query score error" ;

    public final static String QUERY_TEACHER_ON_COURSE_ERROR = "query teacher on course error";

    public final static String QUERY_STUDENT_LIST_ERROR = "query student list error";
}
